import request from "@/utils/request";
// 查询视频
export function getVideoUrl(query) {
  return request({
    url: "/system/dept/getVideoUrl/" + query.id,
    method: "get",
    params: query,
  });
}
// 查询视频列表
export function getVideoList(query) {
  return request({
    url: "/system/dept/getVideoList",
    method: "get",
    params: query,
  });
}
// 查询视频详情大屏
export function getVideoUrlByCameraId(query) {
  return request({
    url: "/system/dept/getVideoUrlByCameraId/" + query.code,
    method: "get",
    params: query,
  });
}

// 查询接送

export function getIntroInfoJson(query) {
  return request({
    url: "/coordination/intro/list",
    method: "get",
    params: query,
  });
}

// 车道

export function getLaneInfo(query) {
  return request({
    url: "/lane/screen/" + query.id,
    method: "get",
    params: query,
  });
}

// 本年差异化优惠通行费累计值
export function gstRoadDiffChargeDaySum(query) {
  return request({
    url: "/road-statistics/xzRoadDiffChargeDaySum",
    method: "get",
    params: query,
  });
}

// 本年小客车费累计值
export function gstStationDayHoliday(query) {
  return request({
    url: "/road-statistics/xzStationDayHoliday",
    method: "get",
    params: query,
  });
}

// 本年出口绿通通行费、出口免费车通行费累计值
export function gstStationDayOutGreen(query) {
  return request({
    url: "/road-statistics/xzStationDayOutGreen",
    method: "get",
    params: query,
  });
}
// 昨日通行量
export function getYesterNum(query) {
  return request({
    url: "/road-statistics/yesterXz",
    method: "get",
    params: query,
  });
}
export function getYesterPassage(query) {
  return request({
    url: "/large/yesterdayPassage",
    method: "get",
    params: query,
  });
}
export function getCostData(query) {
  return request({
    url: "/statistics/costData",
    method: "post",
    data: query,
  });
}

// 近7天ETC使用趋势
export function etcRatioTendency(query) {
  return request({
    url: "/statistics/etcRatioTendency",
    method: "post",
    data: query,
  });
}

export function passageTendency(query) {
  return request({
    url: "/large/passageTendency",
    method: "get",
    params: query,
  });
}


// 划后通行费
export function getMonthTendency(query) {
  return request({
    url: "/road-statistics/monthTendency",
    method: "get",
    params: query,
  });
}

// 昨日通行费
export function getYesterFee(query) {
  return request({
    url: "/road-statistics/yesterFee ",
    method: "get",
    params: query,
  });
}
export function gstCoordinationList(query) {
  return request({
    url: "/large/stationRank",
    method: "get",
    params: query,
  });
}

// 获取排名
export function gstStationRank(query) {
  return request({
    url: "/large/stationRank",
    method: "get",
    params: query,
  });
}
//
// 获取部级
export function gstStationRankDept(query) {
  return request({
    url: "/road-statistics/companyRank",
    method: "get",
    params: query,
  });
}
// 节假日
export function getHoliday(query) {
  return request({
    url: "/large/holidayPolicyImplementation",
    method: "get",
    params: query,
  });
}
export function getStatisticsNew(query) {
  return request({
    url: "/road-statistics",
    method: "get",
    params: query,
  });
}

// 趋势
export function getTendencyNew(query) {
  return request({
    url: "/road-statistics/tendency",
    method: "get",
    params: query,
  });
}

// 通信量趋势
export function getTendency(query) {
  return request({
    url: "/lane/tendency",
    method: "get",
    params: query,
  });
}

// 稽核站级统计
export function getStationStat(query) {
  return request({
    url: "/audit/stat/getStationStat",
    method: "get",
    params: query,
  });
}

// 通行费量增减趋势
export function getPassageTendency(query) {
  return request({
    url: "large/passageTendency",
    method: "get",
    params: query,
  });
}

export function getYesterdayPassageDetail(query) {
  return request({
    url: "large/yesterdayPassageDetail",
    method: "get",
    params: query,
  });
}



